<%@ page language="java" import="java.util.*,org.cx.oa.entity.*" pageEncoding="UTF-8"%>
<%@ page import="org.cx.oa.util.*,javax.mail.*, javax.mail.internet.*,javax.mail.Message"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'mailInfo.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body bgcolor="#EEF2FB">
  <%
   mailUtil client=(mailUtil)session.getValue("messageInfo");
   %>
   <table>
   <tr><td>主题：</td><td><%=client.getSubject() %></td></tr>
    <tr><td>发件人：</td><td><%=client.getFrom() %></td></tr>
     <tr><td>时间：</td><td><%=client.getSentDate() %></td></tr>
     <tr><td colspan="2"><a href="javascript:history.go(-1);">《《返回</a>
     <tr><td colspan="2"><%= client.getBodyText() %></td></tr>
   </table>
   
  </body>
</html>
